﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayingCards.Model.Entity
{
    /// <summary>
    ///  基础类
    /// </summary>
    public class BaseEntity
    {
        [SugarColumn(IsPrimaryKey = true,IsIdentity = true)]
        public int Id { get; set; }
        [SugarColumn(ColumnName = "AddTime")]
        public DateTime AddTime { get; set; } = DateTime.Now;
        [SugarColumn(ColumnName = "DateTime")]
        public DateTime DateTime { get; set; } = DateTime.Now;
        [SugarColumn(ColumnName = "IsDelect")]
        public bool IsDelect { get; set; } = false;
    }
}
